﻿using Architeture.Domain;
using Microsoft.EntityFrameworkCore;
namespace Architecture.Repository
{
    public class EFCoreContext : DbContext
    {
        public EFCoreContext(DbContextOptions<EFCoreContext> options) : base(options)
        {
        }
        public DbSet<UserInfo> UserInfos { get; set; }
        public DbSet<ProvinceInfo> ProvinceInfos { get; set; }
        public DbSet<CityInfo> CityInfos { get; set; }
        public DbSet<CountyInfo> CountyInfos { get; set; }
        public DbSet<RoleInfo> RoleInfos { get; set; }
        public DbSet<UserRoleInfo> UserRoleInfo { get; set; }
        public DbSet<MenuInfo> MenuInfo { get; set; }
        public DbSet<RoleMenu> RoleMenus { get; set; }
        public DbSet<Askforleave> Askforleaves { get; set; }
        public DbSet<GoodsInfo> GoodsInfos { get; set; }
        public DbSet<AllPic> AllPics { get; set; }
        public DbSet<Farming> Farmings { get; set; }
        public DbSet<HealthCare> HealthCares { get; set; }
        public DbSet<EnterpriseInfo> EnterpriseInfos { get; set; }
        public DbSet<slaughterInfo> slaughterInfos { get; set; }
        public DbSet<machiningInfo> machiningInfos { get; set; }
    }
}